/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package GUI;

import java.util.ArrayList;

/**
 *
 * @author ThienLe
 */
public class testfunction {
    
    
    public class test_child{
        private int i;
        private String test;

        /**
         * @return the i
         */
        public int getI() {
            return i;
        }

        /**
         * @param i the i to set
         */
        public void setI(int i) {
            this.i = i;
        }

        /**
         * @return the test
         */
        public String getTest() {
            return test;
        }

        /**
         * @param test the test to set
         */
        public void setTest(String test) {
            this.test = test;
        }
        
        public test_child(){
        
        }
       
    }
    
    
    public static void main(String args[]) {
        ArrayList<String> test = new ArrayList<>();
        test.add("adasdasd");
        test.add("cvbcvbcvbcvcvb");
        test.add("eeeeeeeeeeeeeeeeeeeeeeeeeee");
        ArrayList<String> test1 = test;//new ArrayList<>(test);
        ArrayList<String> test2 = test;
        test1.remove(0);
        System.out.println("array 1 : ");
        for(String i : test1){
            System.out.println(i);
        }
        //test1.remove(1);
        System.out.println("array 2 : ");
        for(String i : test2){
            System.out.println(i);
        }
    }
}
